<div class="uk-layui-form mt5" style="margin-top:5px;">
    <form class="layui-form" action="/admin/callcenter/numberpool/update.html" data-toggle="ajax-form" data-inner="#callCenterContent" data-message=false>
        <input type="hidden" name="id" value="${numberPool.id!''}" >

        <div class="layui-form-item">
            <label class="layui-form-label">号码：</label>
            <div class="layui-input-inline">
                <input type="text" name="number" value="${numberPool.number!''}" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label" >所属网关：</label>
                <div class="layui-input-inline">
                	<select name="siptrunkid" lay-verify="required">
			        	<option value="">请选择网关</option>
			        	<#if sipTrunkList??>
			        	<#list sipTrunkList as sipTrunk>
			        	<option value="${sipTrunk.id!''}" <#if sipTrunk?? && sipTrunk.id == numberPool.siptrunkid>selected="selected"</#if>>${sipTrunk.name!''}</option>
			        	</#list>
			        	</#if>
			        </select>
                </div>
			    <i style="color:red;">*</i>
            </div>
        </div>
        <div class="layui-form-button">
            <div class="layui-button-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>


<script>
    layui.use('form', function() {
        var form = layui.form;
        form.render();
    });

</script>